package yang.learn.service;

import yang.learn.entity.ChatRoom;
import yang.learn.entity.User;

import java.util.List;

public interface ChatRoomService {

    public void add(ChatRoom chatRoom);
    public void del(ChatRoom chatRoom);
    public void change(ChatRoom chatRoom);
    public ChatRoom queryId(ChatRoom chatRoom);
    public List<ChatRoom> queryAll(User user);

}
